package com.macro.mall.tiny.config;


import org.springframework.boot.web.servlet.FilterRegistrationBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author: i_kun
 * @Desc: o_。
 * @create: 2025-06-30 09:33
 */
//@Configuration
//public class WebConfig {
//    @Bean
//    public FilterRegistrationBean<XssFilter> xssFilterRegistrationBean() {
//        FilterRegistrationBean<XssFilter> registrationBean = new FilterRegistrationBean<>();
//        registrationBean.setFilter(new XssFilter());
//        registrationBean.addUrlPatterns("/*");
//        return registrationBean;
//    }
//}
